package com.ttj.controller.purchaser;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ttj.domain.oracle.OrderRecDetail;
import com.ttj.service.OrderRecDetailService;
import com.ttj.vo.BaseRes;

@Controller
@RequestMapping("purchaser/recDetail")
public class OrderRecDetailController {

	@Resource
	private OrderRecDetailService detailService;
	
	@RequestMapping(value="/detailList",method=RequestMethod.GET)
	public @ResponseBody BaseRes<List<OrderRecDetail>> recDetailList(Long orderId){
		return detailService.detailList(orderId);
	}
}
